Skip to content

docs: record the repo-wide gate/fill description sweep (#82) - #83

Merged
StackOverFlow11 merged 1 commit into
mainfrom
docs/progress-pr82
Jul 21, 2026
Merged

docs: record the repo-wide gate/fill description sweep (#82)#83
StackOverFlow11 merged 1 commit into
mainfrom
docs/progress-pr82

Conversation

@StackOverFlow11

Copy link
Copy Markdown
Owner

Records PR #82 in the canonical progress file, plus the quality-gate line re-measured on main @ f432dc5.

The entry carries the rule the episode established, which is the part worth keeping:

一个只扫你已经修过的文件的守卫,永远只能确认你已经知道的事。

Widening the scan past the two modules #78 had fixed found six more stale sites of a related kind — the fill-price descriptions PR #75 also moved to the bar VWAP. Twelve total: seven describing the gate, five describing the fill.

Also recorded: the two restatements that survive by necessity (import cycle), what was deliberately not swept and why (the daily tradability filter genuinely compares a raw daily close — a careless sweep would have replaced a true statement with a false one), the guard's honest scope (catches literal 'close', not reworded synonyms — seven demonstrated escapes), and the reviewer's independent re-derivation (12 pre-fix hits / 0 post-fix, line numbers matching).

Gates: pytest 1776 passed · ruff clean · 31/31 configs · phase0 ic_mean=0.9600, annual_return=0.8408

#78's guard scanned only the two report modules it had just fixed, so six live
instances of the same defect -- qt/config.py plus five I5b/c/d/e/f config YAMLs --
were unreachable by it in principle. The YAMLs are what an operator reads before
enabling price_limit_check, a higher-stakes readership than a docstring.

Widening the scan immediately found six more of a related kind: the FILL price
descriptions ('the first valid 1min close in [14:51, 14:56:59]') that PR #75 also
moved to the bar VWAP. Twelve sites total.

The rule worth keeping is recorded with it: a guard scoped to the files you have
already fixed can only ever confirm what you already know.

Quality-gate line re-measured on main @ f432dc5.
@StackOverFlow11
StackOverFlow11 merged commit 1f9d85e into main Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant